home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / MoreFiles 1.3.1 / MoreFiles Reference 1.3 / MoreFiles Reference 1.3.rsrc / WFMT_249_a165 < prev    next >
Unknown  |  1995-04-18  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file TTComp archive data, binary, 2K dictionary default (weak)
99% file data default
66% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID Adobe PhotoShop Brush default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 05 00 00 |........|........|
|00000030| 00 2b 00 00 00 00 00 00 | 00 2b 61 31 36 35 00 00 |.+......|.+a165..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 11 47 65 74 4f 62 | 6a 65 63 74 4c 6f 63 61 |...GetOb|jectLoca|
|00000060| 74 69 6f 6e 00 00 06 00 | 00 00 00 00 f4 00 00 00 |tion....|........|
|00000070| 00 00 00 00 f4 00 00 00 | 14 03 c1 00 28 05 7e 00 |........|....(.~.|
|00000080| ff 00 00 00 00 7f ff 0f | a8 00 00 00 00 4e 1c 00 |........|.....N..|
|00000090| 00 00 09 00 00 00 04 00 | 04 ff fc ff fa 00 04 00 |........|........|
|000000a0| 04 ff fc ff fc 00 00 00 | 00 00 00 00 00 83 00 0b |........|........|
|000000b0| 40 10 6b 53 63 72 65 65 | 6e 41 50 49 2f 31 39 39 |@.kScree|nAPI/199|
|000000c0| 39 36 00 06 47 65 6e 65 | 76 61 00 00 9a 70 61 73 |96..Gene|va...pas|
|000000d0| 63 61 6c 20 4f 53 45 72 | 72 20 47 65 74 4f 62 6a |cal OSEr|r GetObj|
|000000e0| 65 63 74 4c 6f 63 61 74 | 69 6f 6e 28 73 68 6f 72 |ectLocat|ion(shor|
|000000f0| 74 20 76 52 65 66 4e 75 | 6d 2c 20 6c 6f 6e 67 20 |t vRefNu|m, long |
|00000100| 64 69 72 49 44 2c 20 53 | 74 72 69 6e 67 50 74 72 |dirID, S|tringPtr|
|00000110| 20 70 61 74 68 6e 61 6d | 65 2c 20 73 68 6f 72 74 | pathnam|e, short|
|00000120| 20 2a 72 65 61 6c 56 52 | 65 66 4e 75 6d 2c 20 6c | *realVR|efNum, l|
|00000130| 6f 6e 67 20 2a 72 65 61 | 6c 50 61 72 49 44 2c 20 |ong *rea|lParID, |
|00000140| 53 74 72 32 35 35 20 72 | 65 61 6c 4e 61 6d 65 2c |Str255 r|ealName,|
|00000150| 20 42 6f 6f 6c 65 61 6e | 20 2a 69 73 44 69 72 65 | Boolean| *isDire|
|00000160| 63 74 6f 72 79 29 3b 00 | 00 00 06 00 00 00 00 00 |ctory);.|........|
|00000170| 82 00 00 00 00 00 00 00 | 82 00 00 00 00 03 c1 00 |........|........|
|00000180| 14 05 7e 00 ff 00 00 00 | 00 7f ff 0f a8 00 00 00 |..~.....|........|
|00000190| 00 4e 1d 00 00 00 09 00 | 00 00 04 00 04 ff fc ff |.N......|........|
|000001a0| fa 00 04 00 04 ff fc ff | fc 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 83 00 0b 40 14 6b 53 | 63 72 65 65 6e 4f 6e 65 |....@.kS|creenOne|
|000001c0| 4c 69 6e 65 2f 31 39 39 | 39 37 00 06 47 65 6e 65 |Line/199|97..Gene|
|000001d0| 76 61 00 00 24 47 65 74 | 20 61 20 66 69 6c 65 20 |va..$Get| a file |
|000001e0| 73 79 73 74 65 6d 20 6f | 62 6a 65 63 74 27 73 20 |system o|bject's |
|000001f0| 6c 6f 63 61 74 69 6f 6e | 2e 00 00 00 06 00 00 00 |location|........|
|00000200| 00 00 44 00 00 00 00 00 | 00 00 44 00 00 00 00 02 |..D.....|..D.....|
|00000210| 6b 04 40 02 6c 01 00 00 | 00 00 00 00 01 0f f1 00 |k.@.l...|........|
|00000220| 00 00 00 00 00 00 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 06 00 00 00 00 00 9a 00 | 00 00 00 00 00 00 9a 00 |........|........|
|00000260| 00 00 00 02 6b 02 28 03 | c1 00 ff 00 00 00 00 7f |....k.(.|........|
|00000270| ff 0f a8 00 00 00 00 4e | 16 00 00 00 09 00 00 00 |.......N|........|
|00000280| 04 00 04 ff fc ff fa 00 | 04 00 04 ff fc ff fc 00 |........|........|
|00000290| 00 00 00 00 00 00 00 83 | 00 0b 40 0b 6c 69 6e 6b |........|..@.link|
|000002a0| 73 2f 31 39 39 39 30 00 | 06 4d 6f 6e 61 63 6f 00 |s/19990.|.Monaco.|
|000002b0| 00 2f 61 31 32 31 2c 46 | 53 4d 61 6b 65 46 53 53 |./a121,F|SMakeFSS|
|000002c0| 70 65 63 43 6f 6d 70 61 | 74 0d 61 31 36 35 2c 47 |pecCompa|t.a165,G|
|000002d0| 65 74 4f 62 6a 65 63 74 | 4c 6f 63 61 74 69 6f 6e |etObject|Location|
|000002e0| 0d 00 16 00 01 00 00 00 | 00 00 10 00 0c 00 01 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 06 00 00 00 00 05 |........|........|
|00000300| f4 00 00 00 00 00 00 05 | f4 00 00 00 00 00 00 75 |........|.......u|
|00000310| 30 02 6b 01 ff 00 00 00 | 00 7f ff 0f a8 00 00 00 |0.k.....|........|
|00000320| 00 4e 1f 00 00 00 09 00 | 00 00 04 00 04 ff fc ff |.N......|........|
|00000330| fa 00 04 00 04 ff fc ff | fc 00 00 00 00 00 00 00 |........|........|
|00000340| 00 83 00 0b 40 0a 62 6f | 64 79 2f 31 39 39 39 39 |....@.bo|dy/19999|
|00000350| 00 06 4d 6f 6e 61 63 6f | 00 05 62 70 61 73 63 61 |..Monaco|..bpasca|
|00000360| 6c 20 4f 53 45 72 72 20 | 47 65 74 4f 62 6a 65 63 |l OSErr |GetObjec|
|00000370| 74 4c 6f 63 61 74 69 6f | 6e 28 73 68 6f 72 74 20 |tLocatio|n(short |
|00000380| 76 52 65 66 4e 75 6d 2c | 20 6c 6f 6e 67 20 64 69 |vRefNum,| long di|
|00000390| 72 49 44 2c 20 53 74 72 | 69 6e 67 50 74 72 20 70 |rID, Str|ingPtr p|
|000003a0| 61 74 68 6e 61 6d 65 2c | 20 73 68 6f 72 74 20 2a |athname,| short *|
|000003b0| 72 65 61 6c 56 52 65 66 | 4e 75 6d 2c 20 6c 6f 6e |realVRef|Num, lon|
|000003c0| 67 20 2a 72 65 61 6c 50 | 61 72 49 44 2c 20 53 74 |g *realP|arID, St|
|000003d0| 72 32 35 35 20 72 65 61 | 6c 4e 61 6d 65 2c 20 42 |r255 rea|lName, B|
|000003e0| 6f 6f 6c 65 61 6e 20 2a | 69 73 44 69 72 65 63 74 |oolean *|isDirect|
|000003f0| 6f 72 79 29 3b 0d 0d 20 | 20 20 20 46 69 6c 65 3a |ory);.. | File:|
|00000400| 20 4d 6f 72 65 46 69 6c | 65 73 45 78 74 72 61 73 | MoreFil|esExtras|
|00000410| 2e 68 0d 0d 54 68 65 20 | 47 65 74 4f 62 6a 65 63 |.h..The |GetObjec|
|00000420| 74 4c 6f 63 61 74 69 6f | 6e 20 66 75 6e 63 74 69 |tLocatio|n functi|
|00000430| 6f 6e 20 67 65 74 73 20 | 61 20 66 69 6c 65 20 73 |on gets |a file s|
|00000440| 79 73 74 65 6d 20 6f 62 | 6a 65 63 74 27 73 20 6c |ystem ob|ject's l|
|00000450| 6f 63 61 74 69 6f 6e 20 | 2d 0d 74 68 61 74 20 69 |ocation |-.that i|
|00000460| 73 2c 20 69 74 73 20 72 | 65 61 6c 20 76 6f 6c 75 |s, its r|eal volu|
|00000470| 6d 65 20 72 65 66 65 72 | 65 6e 63 65 20 6e 75 6d |me refer|ence num|
|00000480| 62 65 72 2c 20 72 65 61 | 6c 20 70 61 72 65 6e 74 |ber, rea|l parent|
|00000490| 20 64 69 72 65 63 74 6f | 72 79 20 49 44 2c 0d 61 | directo|ry ID,.a|
|000004a0| 6e 64 20 6e 61 6d 65 2e | 20 57 68 69 6c 65 20 77 |nd name.| While w|
|000004b0| 65 27 72 65 20 61 74 20 | 69 74 2c 20 64 65 74 65 |e're at |it, dete|
|000004c0| 72 6d 69 6e 65 20 69 66 | 20 74 68 65 20 6f 62 6a |rmine if| the obj|
|000004d0| 65 63 74 20 69 73 20 61 | 20 66 69 6c 65 20 6f 72 |ect is a| file or|
|000004e0| 20 64 69 72 65 63 74 6f | 72 79 2e 0d 49 66 20 47 | directo|ry..If G|
|000004f0| 65 74 4f 62 6a 65 63 74 | 4c 6f 63 61 74 69 6f 6e |etObject|Location|
|00000500| 20 72 65 74 75 72 6e 73 | 20 66 6e 66 45 72 72 2c | returns| fnfErr,|
|00000510| 20 74 68 65 6e 20 74 68 | 65 20 6c 6f 63 61 74 69 | then th|e locati|
|00000520| 6f 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0d 72 |on infor|mation.r|
|00000530| 65 74 75 72 6e 65 64 20 | 69 73 20 76 61 6c 69 64 |eturned |is valid|
|00000540| 2c 20 62 75 74 20 69 74 | 20 64 65 73 63 72 69 62 |, but it| describ|
|00000550| 65 73 20 61 6e 20 6f 62 | 6a 65 63 74 20 74 68 61 |es an ob|ject tha|
|00000560| 74 20 64 6f 65 73 6e 27 | 74 20 65 78 69 73 74 2e |t doesn'|t exist.|
|00000570| 0d 59 6f 75 20 63 61 6e | 20 75 73 65 20 74 68 65 |.You can| use the|
|00000580| 20 6c 6f 63 61 74 69 6f | 6e 20 69 6e 66 6f 72 6d | locatio|n inform|
|00000590| 61 74 69 6f 6e 20 66 6f | 72 20 61 6e 6f 74 68 65 |ation fo|r anothe|
|000005a0| 72 20 6f 70 65 72 61 74 | 69 6f 6e 2c 20 73 75 63 |r operat|ion, suc|
|000005b0| 68 20 61 73 0d 63 72 65 | 61 74 69 6e 67 20 61 20 |h as.cre|ating a |
|000005c0| 66 69 6c 65 20 6f 72 20 | 64 69 72 65 63 74 6f 72 |file or |director|
|000005d0| 79 2e 0d 0d 76 52 65 66 | 4e 75 6d 20 20 20 20 20 |y...vRef|Num |
|000005e0| 69 6e 70 75 74 3a 20 20 | 56 6f 6c 75 6d 65 20 73 |input: |Volume s|
|000005f0| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 2e 0d 64 69 |pecifica|tion..di|
|00000600| 72 49 44 20 20 20 20 20 | 20 20 69 6e 70 75 74 3a |rID | input:|
|00000610| 20 20 44 69 72 65 63 74 | 6f 72 79 20 49 44 2e 0d | Direct|ory ID..|
|00000620| 70 61 74 68 6e 61 6d 65 | 20 20 20 20 69 6e 70 75 |pathname| inpu|
|00000630| 74 3a 20 20 50 6f 69 6e | 74 65 72 20 74 6f 20 6f |t: Poin|ter to o|
|00000640| 62 6a 65 63 74 20 6e 61 | 6d 65 2c 20 6f 72 20 6e |bject na|me, or n|
|00000650| 69 6c 20 77 68 65 6e 20 | 64 69 72 49 44 20 73 70 |il when |dirID sp|
|00000660| 65 63 69 66 69 65 73 0d | 20 20 20 20 20 20 20 20 |ecifies.| |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 20 20 61 20 64 69 | | a di|
|00000680| 72 65 63 74 6f 72 79 20 | 74 68 61 74 27 73 20 74 |rectory |that's t|
|00000690| 68 65 20 6f 62 6a 65 63 | 74 2e 0d 72 65 61 6c 56 |he objec|t..realV|
|000006a0| 52 65 66 4e 75 6d 20 6f | 75 74 70 75 74 3a 20 54 |RefNum o|utput: T|
|000006b0| 68 65 20 72 65 61 6c 20 | 76 6f 6c 75 6d 65 20 72 |he real |volume r|
|000006c0| 65 66 65 72 65 6e 63 65 | 20 6e 75 6d 62 65 72 2e |eference| number.|
|000006d0| 0d 72 65 61 6c 50 61 72 | 49 44 20 20 20 6f 75 74 |.realPar|ID out|
|000006e0| 70 75 74 3a 20 54 68 65 | 20 70 61 72 65 6e 74 20 |put: The| parent |
|000006f0| 64 69 72 65 63 74 6f 72 | 79 20 49 44 20 6f 66 20 |director|y ID of |
|00000700| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 6f 62 |the spec|ified ob|
|00000710| 6a 65 63 74 2e 0d 72 65 | 61 6c 4e 61 6d 65 20 20 |ject..re|alName |
|00000720| 20 20 6f 75 74 70 75 74 | 3a 20 54 68 65 20 6e 61 | output|: The na|
|00000730| 6d 65 20 6f 66 20 74 68 | 65 20 73 70 65 63 69 66 |me of th|e specif|
|00000740| 69 65 64 20 6f 62 6a 65 | 63 74 20 28 74 68 65 20 |ied obje|ct (the |
|00000750| 63 61 73 65 20 6f 66 20 | 74 68 65 0d 20 20 20 20 |case of |the. |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000770| 6f 62 6a 65 63 74 20 6e | 61 6d 65 20 6d 61 79 20 |object n|ame may |
|00000780| 6e 6f 74 20 62 65 20 74 | 68 65 20 73 61 6d 65 20 |not be t|he same |
|00000790| 61 73 20 74 68 65 20 6f | 62 6a 65 63 74 27 73 0d |as the o|bject's.|
|000007a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007b0| 20 20 20 20 63 61 74 61 | 6c 6f 67 20 65 6e 74 72 | cata|log entr|
|000007c0| 79 20 6f 6e 20 64 69 73 | 6b 20 2d 20 73 69 6e 63 |y on dis|k - sinc|
|000007d0| 65 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |e the Ma|cintosh |
|000007e0| 66 69 6c 65 0d 20 20 20 | 20 20 20 20 20 20 20 20 |file. | |
|000007f0| 20 20 20 20 20 20 20 20 | 20 73 79 73 74 65 6d 20 | | system |
|00000800| 69 73 20 6e 6f 74 20 63 | 61 73 65 20 73 65 6e 73 |is not c|ase sens|
|00000810| 69 74 69 76 65 2c 20 69 | 74 20 73 68 6f 75 6c 64 |itive, i|t should|
|00000820| 6e 27 74 20 6d 61 74 74 | 65 72 29 2e 0d 69 73 44 |n't matt|er)..isD|
|00000830| 69 72 65 63 74 6f 72 79 | 20 6f 75 74 70 75 74 3a |irectory| output:|
|00000840| 20 54 72 75 65 20 69 66 | 20 6f 62 6a 65 63 74 20 | True if| object |
|00000850| 69 73 20 61 20 64 69 72 | 65 63 74 6f 72 79 3b 20 |is a dir|ectory; |
|00000860| 66 61 6c 73 65 20 69 66 | 20 6f 62 6a 65 63 74 0d |false if| object.|
|00000870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000880| 20 20 20 20 69 73 20 61 | 20 66 69 6c 65 2e 0d 0d | is a| file...|
|00000890| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 0d 0d 53 65 65 20 |________|__..See |
|000008a0| 61 6c 73 6f 3a 20 20 20 | 46 53 4d 61 6b 65 46 53 |also: |FSMakeFS|
|000008b0| 53 70 65 63 43 6f 6d 70 | 61 74 0d 0d 0d 00 3e 00 |SpecComp|at....>.|
|000008c0| 03 00 00 00 00 00 0b 00 | 09 00 04 00 00 00 09 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 05 | 4d 00 0b 00 09 00 04 05 |........|M.......|
|000008e0| 00 00 09 00 00 00 00 00 | 00 00 00 05 5f 00 0b 00 |........|...._...|
|000008f0| 09 00 04 00 00 00 09 00 | 00 00 00 00 00 |........|..... |
+--------+-------------------------+-------------------------+--------+--------+